package com.dy.nygl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.dy.nygl.pojo.ConsumMonitor;


@Component("consumMonitorDao")
public interface ConsumMonitorMapper {
	int deleteByPrimaryKey(@Param("id") Integer id);

	int insert(ConsumMonitor record);

	int insertSelective(ConsumMonitor record);

	ConsumMonitor selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(ConsumMonitor record);

	int updateByPrimaryKey(ConsumMonitor record);

	List<ConsumMonitor> selectAll();

	List<ConsumMonitor> selectByName(@Param("various") String various);
}